package com.platform.api.film.controller;


import com.platform.api.film.service.FilmCategoryService;
import com.platform.common.core.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;



/**
 * 影视分类
 * @author guoshao
 * @email 2549789059@qq.com
 * @date 2023-09-02 20:16:50
 */

@RestController
@RequestMapping("{appid}/film/filmCategory")
public class FilmCategoryController {
    @Autowired
    private FilmCategoryService filmCategoryService;

    @GetMapping("list")
    public Result list(){
        return Result.success(filmCategoryService.listAll());
    }

}
